<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>other</title>
</head>

<body>
    <!-- html -->
    <div class="div" id="div" style="visibility:hidden; color: #fff;">
        我是一个div标签
    </div>
    <span>你猜下我的位置在哪</span>

    <!-- css -->
    <style>
        div {
            display: none;
            width: 100px;
            height: 20px;
        }

        .div {
            display: inline
        }

        #div {
            color: red
        }
    </style>
</body>

</html>